package com.xyht.sca_s.student_manage_system.modules.asset.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.asset.entity.SmsAssetFixedInStorageApply;
import com.xyht.sca_s.student_manage_system.modules.asset.entity.req.fixedInStorageApply.SmsAssetFixedInStorageApplyAllowReq;
import com.xyht.sca_s.student_manage_system.modules.asset.entity.req.fixedInStorageApply.SmsAssetFixedInStorageApplyReq;

/**
 * <p>
 * 固定资产入库申请 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-05-16
 */
public interface SmsAssetFixedInStorageApplyService extends IService<SmsAssetFixedInStorageApply> {
    ResponseResult addFixedInStorageApply(SmsAssetFixedInStorageApplyReq applyReq, String user_id);

    ResponseResult cancelFixedInStorageApply(SmsAssetFixedInStorageApplyReq applyReq, String user_id);

    ResponseResult getAssetFixedInStorageApplyList(String user_id,
                                                   Integer apply_type,
                                                   Integer pageNum,
                                                   Integer pageSize);

//    ResponseResult getAdminAssetFixedInStorageApplyList(String user_id,
//                                                   Integer apply_type,
//                                                   Integer pageNum,
//                                                   Integer pageSize);

    ResponseResult getAssetFixedInStorageApplyDetail(String apply_id, String user_id);

    ResponseResult allowAssetFixedInStorageApply(SmsAssetFixedInStorageApplyAllowReq smsAssetFixedInStorageApplyAllowReq, String user_id);

    ResponseResult getAssetFixedInStorageApplyAllList(Integer allowStatus, String applyName, Integer pageNum, Integer pageSize);
}
